package com.gxa.logistics.mapper;

import com.gxa.logistics.domain.dto.MenuSaveDTO;
import com.gxa.logistics.domain.dto.MenuUpdateDTO;
import com.gxa.logistics.domain.entity.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper {
    List<Menu> findMenu();

    void insertMenu(MenuSaveDTO menuSaveDTO);

    void updateMenu(MenuUpdateDTO menuUpdateDTO);

    void deleteMenuById(Integer menuId);

}
